package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsStorage;

public interface StorageService {
    //对象存储数据分页查询
    public IPage<DtsStorage> queryStoragePage(String key, String name,
                                              Integer page,
                                              Integer limit,
                                              String sort,
                                              String order);
    public DtsStorage add(String name,Integer size,String ext,byte[] content) throws Exception;

    public int update(DtsStorage storage);

    public void deleteByKey(String key);

}
